home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Classicos / bananamonkey.swf / scripts / frame_16 / PlaceObject2_279_172 / CLIPACTIONRECORD onClipEvent(enterFrame).as next >
Encoding:
Text File  |  2006-06-19  |  355 b   |  24 lines

  1. onClipEvent(enterFrame){
  2.    _X = _X + 3;
  3.    if(_X > 750)
  4.    {
  5.       _X = -900;
  6.       pl = 1;
  7.    }
  8.    if(_root.doba == 5)
  9.    {
  10.       if(_X > 740)
  11.       {
  12.          _root.doba = random(5);
  13.       }
  14.       if(_X > 150)
  15.       {
  16.          if(pl == 1)
  17.          {
  18.             this.gotoAndStop(2);
  19.             pl = 0;
  20.          }
  21.       }
  22.    }
  23. }
  24.